<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="/WEB-INF/template/templateSupervisor.xhtml">
	<ui:define name="content">
		<f:loadBundle basename="properties.messages" var="msg" />
		<f:view locale="#{language.locale}">
			<br></br>
			<br></br>


			<div style="margin-left: 10%;">
				<h:form class="editProfile" id="setProfileForm1">
					<br />

					<h:outputText class="editProfile" value="#{msg.editProfile}"></h:outputText>
					<br />
					<br />
					<br />


					<h:panelGrid border="0" columns="3">


						<h:outputText value="#{msg.currPass}" style="margin-right:0px;"></h:outputText>
						<h:inputSecret style="margin-right:100px;" id="passwordFailed"
							validator="#{setProfileController1.validatePassword}"></h:inputSecret>
						<h:message for="passwordFailed"></h:message>

						<h:outputText value="#{msg.newPass}" style="margin-right:60px;"></h:outputText>
						<h:inputSecret style="margin-right:100px;" id="passwordFailedNew"
							binding="#{passwordFailedNew}">

						</h:inputSecret>
						<h:message for="passwordFailedNew"></h:message>

						<h:outputText value="#{msg.confPass}"></h:outputText>
						<h:inputSecret style="margin-right:100px;" id="passwordFailedRetype"
							validator="#{setProfileController1.validatePasswordNew}">

							<f:attribute name="password" value="#{passwordFailedNew}"></f:attribute>
						</h:inputSecret>


						<h:message for="passwordFailedRetype"></h:message>
						<h:outputText></h:outputText>
						<h:outputText></h:outputText>









					</h:panelGrid>

					<h:commandButton class="editProfileButton"
						style="margin-left:500px; position:static;" id="submit1"
						value="#{msg.submit}"
						action="#{setProfileController1.changePassword}"></h:commandButton>
				</h:form>
				<h:form class="editProfile" id="setProfileForm2">

					<h:panelGrid border="0" columns="3">

						<h:outputText value="#{msg.currPhoneNr}"></h:outputText>
						<h:outputLabel> #{dTOUser.telephone}</h:outputLabel>
						<h:outputText></h:outputText>
						<h:outputText value="#{msg.newPhoneNr}"></h:outputText>
						<h:inputText style="margin-right:50px;" id="phoneFailed"
							validator="#{setProfileController1.validatePhone}"></h:inputText>
						<h:message for="phoneFailed"></h:message>





						<h:outputText></h:outputText>
						<h:outputText></h:outputText>

					</h:panelGrid>

					<h:commandButton class="editProfileButton"
						style="margin-left:500px; position:static;" id="submit2"
						value="#{msg.submit}"
						action="#{setProfileController1.changePassword}"></h:commandButton>
				</h:form>
				<h:form class="editProfile" id="setProfileForm3">
					<h:panelGrid border="0" columns="3">
						<h:outputText value="#{msg.currEmail}" style="margin-right:65px;">
						</h:outputText>
						<h:outputLabel>#{dTOUser.email} </h:outputLabel>
						<h:outputLabel>
						</h:outputLabel>

						<h:outputText value="#{msg.newMail}"></h:outputText>



						<h:inputText style="margin-right:50px;" id="emailFailed"
							validator="#{setProfileController1.validateEmail}"></h:inputText>

						<h:message for="emailFailed"></h:message>
						<h:outputText></h:outputText>

						<h:outputText></h:outputText>

					</h:panelGrid>

					<h:commandButton class="editProfileButton"
						style="margin-left:500px;" id="submit3" value="#{msg.submit}"
						action="#{setProfileController1.changePassword}"></h:commandButton>
					<h:outputText></h:outputText>


				</h:form>
			</div>
		</f:view>
	</ui:define>
</ui:composition>
</html>